Back to overview

CODESYS Development System - Incorrect Default Permissions

VDE-2026-055
Last update
05/26/2026 12:00
Published at
05/26/2026 12:00
Vendor(s)
CODESYS GmbH
External ID
Advisory2026-09_VDE-2026-055
CSAF Document

Summary

Two local privilege escalation vulnerabilities were identified in the CODESYS Development System. Specifically, the PackageManager and the IPM create temporary directories with insecure default permissions when executed with administrative privileges. This allows low-privileged local users to modify a temporary bootstrap file to force the deployment of arbitrary components, or to exploit a Time-of-Check to Time-of-Use (TOCTOU) race condition to replace digitally verified installation files with malicious ones prior to installation. Both flaws bypass intended security boundaries during the installation of packages or add-ons.

Impact

Successful exploitation of these two vulnerabilities allows a low-privileged local attacker to achieve local privilege escalation. Because the installation processes of the PackageManager and the IPM run with elevated administrative privileges, any manipulated bootstrap file will be applied or any installation file will be installed in this high-privilege context. This enables the attacker to install arbitrary files to compromise the underlying operating system.

Affected Product(s)

Model no. Product name Affected versions
CODESYS Development System vers:generic/<3.5.22.20

Vulnerabilities

Expand / Collapse all

Published
05/26/2026 08:55
Weakness
Incorrect Default Permissions (CWE-276)
Summary

The affected product extracts installation files to a temporary directory with incorrect default permissions during administrative installation. A low-privileged local attacker can exploit a TOCTOU race condition with a practical time window to replace verified files with malicious ones before installation, resulting in local privilege escalation.

References

Published
05/26/2026 08:55
Weakness
Incorrect Default Permissions (CWE-276)
Summary

The affected product creates a directory with insecure default permissions during administrative installation. This allows a low-privileged local attacker to modify a temporary file defining the components to be installed, enabling local privilege escalation by forcing the deployment of arbitrary components.

References

Remediation

Update the following product to version 3.5.22.20.
* CODESYS Development System

The CODESYS Development System can be downloaded and installed directly with the CODESYS Installer or be downloaded from the CODESYS Store. Alternatively, as well as for all other products, you will find further information on obtaining the software update in the CODESYS Update area https://www.codesys.com/download/.

Acknowledgments

CODESYS GmbH thanks the following parties for their efforts:

  • CERT@VDE for coordination (see https://www.certvde.com )
  • David Ruscheweyh from SEW-EURODRIVE GmbH & Co KG for reporting

Revision History

Version Date Summary
1.0.0 05/26/2026 12:00 Initial revision.